package main

import "fmt"

type Student struct {
	Name string
	Age  int
}

func (s Student) Print() {
	fmt.Printf("name:%s,age:%d\n", s.Name, s.Age)
}

func main() {
	s := Student{
		Name: "枫枫",
		Age:  21,
	}
	s.Name = "疯疯知道"
	s.Print()
}
